import axios from 'axios';

const baseURL = '/edu';

const request = axios.create({
  baseURL,
});

request.interceptors.response.use((ret) => {
  if (ret.data) {
    return ret.data;
  }
  return ret;
});

export default request;
